package day5;

public class List {
    public static void main(String[] args) {
        int nums[][]=new int[4][4];
        nums[0][0]=1;
        for (int i=0;i< nums.length;i++){
            for (int j=0;j<nums[i].length;j++){
                int number=i+j+1;
                nums[i][j]=number;
            }
        }
        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 4; j++) {
                System.out.printf("%3d", nums[i][j]);
            }
            System.out.println();
        }
    }
}
